<?php
class myTitle
{
  /**
  * Pre Executes all actions
  */
  public function preExecute()
  {
    $d = sfConfig::get('app_title_delimiter');
    $t = sfConfig::get('app_title');
    $this->title = array('d' => $d, 't' => $t);
    $this->response = $this->getResponse();
  }
  
  /**
  * Sets the Page Title
  * @param string $title The page title
  */
  private function setTitle($title = '')
  {
    $this->response->setTitle($title . $this->title['d'] . $this->title['t'], false);
  }
}
?>